/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout/index.vue'

const malfunctionRouter = [
  {
    path: '/malfunction',
    component: Layout,
    redirect: '/malfunction',
    name: 'malfunction',
    meta: {
      title: '故障管理',
      icon: 'School',
    },
    children: [
      {
        path: '/malfunction',
        component: () => import('@/views/malfunction/index.vue'),
        name: 'malfunction',
        meta: { title: '故障管理', keepAlive: true, icon: 'MenuIcon' },
      },
    ],
  },
]

export default malfunctionRouter
